









package com.company.z8.xingweileiPK.strategy_vs_state.src.com.company.state;

/**
 * @author cbf4Life cbf4life@126.com
 * I'm glad to share my knowledge with you all.
 */
public class Client {
	
	public static void main(String[] args) {
		
		Human human = new Human();
		
		human.setState(new ChildState());
		System.out.println("====��ͯ����Ҫ����=====");
		human.work();
		System.out.println("\n====�����˵���Ҫ����=====");
		human.work();
		System.out.println("\n====�����˵���Ҫ����=====");
		human.work();
	}
}